import { View } from '@tarojs/components'
import { AtIcon } from 'taro-ui'
import styles from './index.less'

interface AddButtonProps {
  onClick: () => void
}

const AddButton: React.FC<AddButtonProps> = ({ onClick }) => {
  return (
    <View className={styles.addButton} onClick={onClick}>
      <AtIcon value='add' size='24' color='#FFF' />
    </View>
  )
}

export default AddButton 